import request from '@/router/axios';

export const getList = (current, size, params) => {
    return request({
        url: '/api/mes-abacus/production-order-report/page-query/production-order-progress',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};


export const getWorkOrderNoInfo = (params) => {
    return request({
        url: '/api/mes-abacus/production-order-report/page-query/production-order-progress-detail',
        method: 'get',
        params: {
            ...params,
        }
    });
};

// 根据工艺路线ID,查询工艺路线与详情
export const getOverStationInfo = (params) => {
    return request({
        url: '/api/mes-abacus/production-order-report/page-query/work-order-progress',
        method: 'get',
        params: {
            ...params
        }
    });
};

export const getUserInfo = () => {
    return request({
        url: '/api/blade-system/user/info',
        method: 'get'
    });
};
